-
Notifications
You must be signed in to change notification settings - Fork 15.2k
[OpenMP] Allow Fortran tests #150722
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[OpenMP] Allow Fortran tests #150722
Conversation
37c2993
to
70dbb33
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I wonder why the test below is a runtime test. This seems like a test that should into the Flang tests folder instead.
The Flang (and Clang) test folder does not contain end2end tests, and cannot as it requires running the executable which is not necessarily possible on the build machine (e.g. building a cross-compiler). Tests of Flang/Clang as unit/regression tests has the form of compiling the program to LLVM-IR, and using FileCheck to verify its output. This is done as well, but those do not make it easy to see whether the output is actually correct. And so it happened that code passed reviews that was obviously broken. |
ping I think this will be really useful to avoid mistake like mentioned here and the upcoming interchange |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
LLVM Buildbot has detected a new failure on builder Full details are available at: https://lab.llvm.org/buildbot/#/builders/181/builds/28304 Here is the relevant piece of the build log for the reference
|
LLVM Buildbot has detected a new failure on builder Full details are available at: https://lab.llvm.org/buildbot/#/builders/88/builds/16297 Here is the relevant piece of the build log for the reference
|
LLVM Buildbot has detected a new failure on builder Full details are available at: https://lab.llvm.org/buildbot/#/builders/10/builds/13905 Here is the relevant piece of the build log for the reference
|
LLVM Buildbot has detected a new failure on builder Full details are available at: https://lab.llvm.org/buildbot/#/builders/55/builds/17469 Here is the relevant piece of the build log for the reference
|
Only enable Fortran tests when either the test compiler is set explicitly, or in a runtimes bootstrapping build. A system-installed Flang either may not exist, or too old to compiler our tests. Fixes buildbot failure after landing #150722 https://lab.llvm.org/buildbot/#/builders/10/builds/13905
LLVM Buildbot has detected a new failure on builder Full details are available at: https://lab.llvm.org/buildbot/#/builders/95/builds/18330 Here is the relevant piece of the build log for the reference
|
In addition to existing C/C++ tests, add Fortran-based tests. Fortran tests will only run if a Fortran compiler is found. The first test is for the unroll construct added in #144785.